//
   Created by Sheng on 13-10-16.

doctype 5
html(lang="en")
    head
        title= pageTitle
        link(rel='stylesheet',href="/css/bootstrap.min.css")
        script(type='text/javascript').
          if (foo) {
             bar(1 + 5)
          }
    body
        h1= title
            #articles
                -each article in articles
                    div.article
                        div.created_at= article.created_at
                        div.title
                            a(href="/blog/"+article._id.toHexString())!= article.title
                        div.body= article.body